const { defineConfig } = require('@vue/cli-service')
//配置@引入
const path = require("path");
function resolve(dir) {
  return path.join(__dirname, dir);
}

module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,
  chainWebpack: config => {
    config.resolve.alias
      .set("@", resolve("src"))
  },

})


 

